<!doctype html>
<html>
<head>
  <title>Learning jQuery</title>
  <meta charset="utf-8" />
  <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1" />
  <script type="text/javascript" src="jquery-1.11.1.min.js"></script>
  <style>    
    #circle {
      width:200px;
      height:200px;
      border-radius:100px;
      background-color:green;    
    }
    
    .square {
      width:200px;
      height:200px;
      background-color:red;
      margin-top:10px;
    }
  </style>
</head>

<body>
  <div id="circle"></div>
  <div class="square"></div>
  <div class="square"></div>
  <script type="text/javascript">
    $("#circle").click(function() {
      //$(this).css("display","none");
      //$(this).hide();
      //$(this).fadeOut();
      $(".square").fadeOut();
    });
  </script>
</body>
</html>
